package lab02.Test15;

public class Graduate implements StudentInterface,TeacherInterface {
    //属性：姓名、性别、年龄、每学期学费、月工资
    String name;
    String sex;
    int age;
    double fee;
    double pay;
    //行为
    @Override
    public void setFee() {

    }

    @Override
    public double getFee() {
        return fee*2;
    }

    @Override
    public void setPay() {

    }

    @Override
    public double getPay() {
        return pay*2;
    }
    //构造函数
    Graduate(){}
}

